﻿using Microsoft.Extensions.Logging;
using Shared.Logging.Interfaces;
using ILogger = Microsoft.Extensions.Logging.ILogger;

namespace Shared.Logging
{
    //public class CategoryLoggerAdapter : ILogCategoryLogger
    //{
    //    private readonly ILogger _logger;

    //    public CategoryLoggerAdapter(ILogger logger) => _logger = logger;

    //    public void Info(string message, params object[] args)
    //        => _logger.LogInformation(message, args);

    //    public void Warn(string message, params object[] args)
    //        => _logger.LogWarning(message, args);

    //    public void Error(Exception? exception, string message, params object[] args)
    //        => _logger.LogError(exception, message, args);

    //    public void Error(string message, params object[] args)
    //        => _logger.LogError(message, args);

    //    public void Debug(string message, params object[] args)
    //        => _logger.LogDebug(message, args);
    //}
}